Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Skeleton to Symfony 7.2 #266

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Dec 9, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Update to Symfony 7.2.

Why?

Try reproduce sulu/sulu#7696. But looks like if all is correctly done and recipes update conflicts correctly resolve Sulu works like expected.

So looks like we can safely update as the error is unrelated.

@alexander-schranz alexander-schranz force-pushed the feature/symfony-7-2-update branch from 2b37f86 to f6f4435 Compare December 9, 2024 11:51
Comment on lines +4 to +11
# csrf_protection:
# token_id: submit
#
# csrf_protection:
# stateless_token_ids:
# - submit
# - authenticate
# - logout
Copy link
Member Author

@alexander-schranz alexander-schranz Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is enabled by default in Symfony Skeleton. Not sure if we should enable it or not.

We need to test sulu/form-bundle before enabling it. Also updates its csrf protection documentation. So I will current case keep it outcommented.

@@ -1,8 +1,7 @@
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was moved to own csrf.yaml file

@alexander-schranz alexander-schranz marked this pull request as draft December 9, 2024 11:54
@alexander-schranz alexander-schranz force-pushed the feature/symfony-7-2-update branch from 2933027 to fc414cd Compare January 9, 2025 11:27
@alexander-schranz alexander-schranz force-pushed the feature/symfony-7-2-update branch from fc414cd to 115604d Compare February 5, 2025 14:35
@alexander-schranz alexander-schranz marked this pull request as ready for review February 5, 2025 14:36
@alexander-schranz alexander-schranz added the enhancement New feature or request label Feb 5, 2025
@alexander-schranz alexander-schranz merged commit f0f3c8e into sulu:2.6 Feb 5, 2025
4 checks passed
@alexander-schranz alexander-schranz deleted the feature/symfony-7-2-update branch February 5, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants